package com.spring.component.test.xml.test;

import com.spring.component.test.xml.Body;
import com.spring.component.xml.annotation.Level;
import com.spring.component.xml.annotation.Xml;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @ClassName: Request
 * @Description:
 * @author: liushihua
 * @date: 2019/1/8
 **/
@Getter
@Setter
@ToString
@Level(value = 0, xmls = {@Xml(attrName = "head", xmlName = "HEAD", clazz = Head.class, isElement = true),
    @Xml(attrName = "body", xmlName = "BODY", clazz = Body.class, isElement = true)})
public class Request {
  private Head head;
  private Body body;
}
